﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="BanHangOnline.ascx.cs" Inherits="UserControl_BanHangOnline" %>
<asp:DataList ID="DataList1" runat="server" 
    DataKeyField="ID" DataSourceID="SqlDataSource1" Width="100%">
    <ItemTemplate>
        <table width="100%">
            <tr>
                <td align="center">
                  <center>
                         <br />
                      <asp:Label ID="TenLabel" runat="server"   
                         Text='<%# Eval("Ten") %>' />
                         <br />
                    <asp:Label ID="DienThoaiLabel" runat="server"
                        Text='<%# Eval("DienThoai") %>' />
                    <font face="Arial" size="2">
                    <a href='ymsgr:sendim?<%# Eval("NicName") %>'>
                         <br />
                    <img alt="Chat với nhân viên kinh doanh online" border="0" 
                        src='http://opi.yahoo.com/online?u=<%# Eval("NicName") %>&amp;m=g&amp;t=2&amp;l=us'> </img> </a></font>
                  </center>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
    ConnectionString="<%$ ConnectionStrings:ConnectServer %>" 
    SelectCommand="SELECT * FROM [HoTro]"></asp:SqlDataSource>

